Use code similar to the following to obtain the handle to the Preview Window using PEGetWindowHandle:
HWND hWnd;
hWnd = PEGetWindowHandle(Job);
if (hWnd <= 0){
// Handle error
}
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |